862ca6724f432ccefe75e61474d1ce01811b5faa,tests/com.aptana.editor.ruby.tests/src/com/aptana/editor/ruby/internal/contentassist/RubyContentAssistProcessorTest.java,RubyContentAssistProcessorTest,setupHierarchyCA,#String#,723
Before Change
FileWriter writer = new FileWriter(file);
writer.write(indexFileSrc);
writer.close();
files.add(EFS.getStore(file.toURI()));
Index testIndex = getTestIndex();
rfip.index(files, testIndex, new NullProgressMonitor());
indicesforTesting.add(testIndex);
After Change
FileWriter writer = new FileWriter(file);
writer.write(indexFileSrc);
writer.close();
IFileStore fileStore = EFS.getStore(file.toURI());
files.add(fileStore);
Index testIndex = getTestIndex();
rfip.indexSource(testIndex, new FileStoreBuildContext(fileStore), indexFileSrc, new NullProgressMonitor());
indicesforTesting.add(testIndex);
}
}